package org.wu.framework.inner.lazy.database.lambda.perfict;

import org.wu.framework.lazy.orm.core.config.enums.LazyDataSourceType;
import org.wu.framework.inner.lazy.database.domain.DataBaseAddress;
import org.wu.framework.lazy.orm.database.sql.expand.database.persistence.factory.LazyLambdaStreamFactory;
import org.wu.framework.lazy.orm.database.lambda.stream.lambda.LazyLambdaStream;
import org.wu.framework.lazy.orm.core.persistence.conf.LazyDatabaseJsonMessage;


public class Perfect {

    public static void main(String[] args) {
        LazyLambdaStream lazyLambdaStream = LazyLambdaStreamFactory.createLazyLambdaStream(
                "127.0.0.1",
                3306,
                "acw",
                "root",
                "wujiawei"
        );
        LazyDatabaseJsonMessage.lazyDataSourceType = LazyDataSourceType.MySQL;
        // 完善表结构
        lazyLambdaStream.createTable(DataBaseAddress.class);

    }
}
